package com.zlx.store.user.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zlx.store.domain.entity.User;
import com.zlx.store.domain.vo.UserVo;

import java.util.List;

public interface UserService {
    int addUser(UserVo user);
    int editUser(UserVo user);
    int delUser(Long id);
    IPage<User> showAllUser(int currentPage, int size,Integer role);
    UserVo selectUserVoById(Long id);
    User selectUserById(Long id);
    User selectUserByName(String username);
    User selectUserByPhone(String phone);
    User selectUserByMail(String mail);
}
